Repository navigation
docs(id): align web/hosted/MCP docs with the shipped code (WEB-1..WEB-15) - #13515
Merged
Merged
Conversation
…-15) Corrects the in-repo documentation disagreements recorded in #13365, where the ID book states the code behaviour and the older docs did not: - WEB.md: full route table (54 paths / 58 method bindings plus the program-only router), replacing the nonexistent /edit/{hash} and /file/{name} spellings with /edit/{*name}, /view/{*name}, /hash/{hash}; crate-split project structure (crates/id-web); hashed asset names (main.<hash>.js, styles.<hash>.css) instead of main.js/main.css; lowercase TagEvent wire format with from/to/count; a Security Layer section (Host allow-list, Origin check, token gate); E2E counts and file list as they stand (138 tests across 7 spec files). - web/README: collab wire table completed to tags 0-11 with the Init mode field; connection flow names {doc_id}; empty-text cadence corrected (Ping each 30s idle cycle, every 2nd replaced by empty text); TagEvent format as above; dist/ described as tracked with a .gitkeep (contents ignored), not git-ignored as a directory. - hosted-worker/README: UserDO route list replaced with the implemented surface (13 paths / 15 method routes: state, usage, export, KV PUT/GET/DELETE, blobs, bridge). - README: Project Structure rewritten for the crate split; E2E counts corrected to match. - id-caps mcp_bridge: the v1 surface doc comment now states that presence.set is pinned but always refused (NoFrameMapping). - id-cli server_config: the module doc comment's [budgets] table now lists all five implemented keys, adding app_inbound_bytes_per_second and per_peer_burst_bytes_per_minute. Refs #13365.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns the in-repo ID documentation with the shipped code for all fifteen survey disagreements recorded in #13365 (the ID book already states the code behaviour in each case):
pkgs/id/WEB.mdroute table replaced with the full registered surface (54 paths / 58 method bindings in the main router, 10 more in the program-only router). The nonexistent/edit/{hash}and/file/{name}spellings are gone; the editor/view routes are/edit/{*name}and/view/{*name}, with/hash/{hash}as the hash entry point.crates/id-web,crates/id-cli, …) and the current frontend modules.main.<hash>.jsandstyles.<hash>.css(nevermain.js/main.css).modefield; connection flow names{doc_id}; empty-text cadence corrected (Ping on each 30 s idle cycle, every 2nd cycle's Ping replaced by the empty text message).set/del/del_all/transfer) and the real transfer fieldsfrom/to/count(verified againstTagEventincrates/id-store/src/tags.rs).dist/is described as it is: contents git-ignored, the directory itself tracked with a.gitkeep.grep -cE '^\s*(test|it)\('.v1_tool_definitionsincrates/id-caps/src/mcp_bridge.rsnow states thatpresence.setis pinned but always refused withNoFrameMapping, so a v1 client treats it as a tool that can never succeed. (The pinned surface itself is unchanged.)[budgets]table in theserver_configmodule doc comment now lists all five implemented keys, addingapp_inbound_bytes_per_second(default 33,554,432) andper_peer_burst_bytes_per_minute(default 8,388,608), both verified incrates/id-cli/src/server_config/parse.rs.Verification
from_subject, no capitalised TagEvent examples, no/edit/{hash}or/file/{name}, nomain.css/main.jsasset claims, no{file_path}, no stale 104/208 E2E totals in the touched docs.cargo test -p id-caps -p id-cli --libdispatched remotely against this branch (the two.rschanges are doc comments only) — run linked in the issue record.Refs #13365.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.